package cn.neusoft.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/new")
public class NewController {

    @GetMapping("/hello")
    public String hello(){
       return "hello new";
    }

    @GetMapping("/hi")
    public String hi(){
        return "say hi";
    }
}
